/**
 * Description:
 * Date: 2025-11-08
 * Time: 17:04
 */
public class Test {
    public static void main(String[] args) {
        SingleLinkedList list = new SingleLinkedList();
        list.addLast(21);
        list.addLast(23);
        list.addLast(23);
        list.addLast(23);
        System.out.println(list.size());
        list.display();

        list.removeAllKey(23);
        System.out.println(list.size());
        list.display();

        list.clear();
        list.display();

//        list.display();
//        list.addFirst(99);
//        list.display();
//        list.remove(45);
//        list.display();

    }
}
